package com.chenglu.android.search.mvp.model;





import com.chenglu.android.common.net.RetrofitClient;
import com.chenglu.android.common.net.RetrofitClientCL;
import com.chenglu.android.index.bean.IndexRecomBean;
import com.chenglu.android.search.bean.SearchBean;
import com.chenglu.android.search.mvp.contract.SearchContract;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;

/**
 * @author: lyj
 * @Created by Copyright 2023/3/2 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 * @Description model
 */
public class SearchModel implements SearchContract.SearchModel {



    @Override
    public Observable<IndexRecomBean> getSearchPage(Map<String, String> map) {
        return RetrofitClientCL.getInstance().getApi().getSearchPage(map);
    }


}
